Skip to content

eRx: document how to enable EPCS - #98

Merged
galemsky-hs merged 2 commits into
mainfrom
erx-1317-enable-epcs
Nov 20, 2026
Merged

galemsky-hs merged 2 commits into
mainfrom
erx-1317-enable-epcs

Conversation

@galemsky-hs

Copy link
Copy Markdown
Contributor

Documents the setup that every eRx deployment needs before prescribers can sign controlled prescriptions (eRx issue: https://github.com/HealthSamurai/ePrescription/issues/1317).

Changed pages:

  • docs/modules/eprescription/epcs/enable-epcs.md (new): set EPCS_MODE and EPCS_PROOF_SECRET, match the App endpoint.secret with AIDBOX_RPC_CREDENTIALS, call the module as the signed-in user, the AccessPolicies for the readiness and signing routes, appoint the access managers, grant the prescribing permission, and verify the setup
  • docs/modules/eprescription/reference/environment-variables.md: add EPCS_MODE and EPCS_PROOF_SECRET
  • SUMMARY.md and docs/modules/eprescription/epcs/README.md: link the new page

The page describes the behavior after the eRx strict-mode switch is removed, so it does not mention EPCS_STRICT_MODE.
The "does not support prescribing controlled substances yet" warning on the EPCS page stays unchanged.

Checks: bun lint:json reports 0 errors and no warnings on the changed pages.

Not yet verified on a running deployment: the full setup walk-through. It runs on eRx staging after strict mode is turned on there.

🤖 Generated with Claude Code

galemsky-hs and others added 2 commits November 19, 2026 13:50
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@galemsky-hs
galemsky-hs merged commit 3e55c33 into main Nov 20, 2026
2 checks passed
@galemsky-hs
galemsky-hs deleted the erx-1317-enable-epcs branch November 20, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant